import React from 'react'
import { Navigate } from "react-router-dom"
const SelectCarList = React.lazy(() => import('../pages/selectCarList'))
const CarDetail = React.lazy(() => import('../pages/carDetail'))
const Login = React.lazy(() => import('../pages/login'))

export default [{
	path: '/',
	element: <Navigate to="/select/car/list"></Navigate>
}, {
	path: '/select/car/list',
	element: <SelectCarList></SelectCarList>
},{
	path: '/login',
	element: <Login></Login>
}, {
	path: '/car/detail/:id',
	element: <CarDetail></CarDetail>
}]